Logic in Computer Science
نویسندگان
چکیده
The first language we consider is the language of propositional logic. It is based on propositions (or declarative sentences) which can either be true or false. Some examples are: 1. Grass is green. 2. The sky is yellow. 3. Every natural number n > 2 is the sum of two prime numbers. 4. If I do not study then I get an F in this course. Sentence (1) is obviously true, whereas sentences (2) is false (at least on earth). Sentence (3) is the so-called Goldbach conjecture. Nobody actually knows whether that sentence is true or false (it is an open problem in mathematics). Nevertheless, it is either one-true or false. Sentence (4) is remarkable since it built from smaller sentences by using certain constructions. Two two propositions 'I do not study' and 'I get an F in this course' are combined using an 'If ... then ...' construction. Even the proposition 'I do not study' can be considered to be the result of applying a 'not ...' construction to the proposition 'I do study'. Some examples for sentences that are not propositions are: • May the force be with you. • Go, clean up your room! • How are you today? 3 4 CHAPTER 1. PROPOSITIONAL LOGIC The sentences above are formulated in plain English. Such a representation of propositions is not very suitable for a computer. Therefore, we are going to introduce a formal language of propositions. This language can easily be manipulated by a program. We are going to consider certain declarative sentences as being atomic. For example, the sentences (1)-(3) are atomic. They cannot be decomposed into smaller propositions. We will use the symbol ⊥ to denote falsehood, and distinct symbols p, q, r,. .. for arbitrary atomic sentences. Definition 1 Let P be a set of propositional variables. The set Prop of propositional formulas are those which can be obtained by using the following rules finitely many times: (a) φ 1 ∧ φ 2 ∈ Prop and (b) φ 1 ∨ φ 2 ∈ Prop and (c) φ 1 → φ 2 ∈ Prop. The previous definition defines the set of formulas by giving a set of rules which may be applied to a base set finitely many times. We also say that the set Prop is defined recursively by those rules. A set defined in such a way always provides a principle of induction. …
منابع مشابه
Evaluation of Planet Factors of Smart City through Multi-layer Fuzzy Logic (MFL)
Internet of Things (IoT) approach is empowering smart city creativities all over the world. There is no specific tool or criteria for the evaluation of the services offered by the smart city. In this paper, a new Multilayer Fuzzy Inference System (MFIS) is proposed for the assessment of the Planet Factors of smart city (PFSC). The PFSC system is categorized into two levels. The proposed MFIS ba...
متن کاملImproving Performance of Opportunistic Routing Protocol using Fuzzy Logic for Vehicular Ad-hoc Networks in Highways
Vehicular ad hoc networks are an emerging technology with an extensive capability in various applications including vehicles safety, traffic management and intelligent transportation systems. Considering the high mobility of vehicles and their inhomogeneous distributions, designing an efficient routing protocol seems necessary. Given the fact that a road is crowded at some sections and is not c...
متن کاملOn the compactness property of extensions of first-order G"{o}del logic
We study three kinds of compactness in some variants of G"{o}del logic: compactness,entailment compactness, and approximate entailment compactness.For countable first-order underlying language we use the Henkinconstruction to prove the compactness property of extensions offirst-order g logic enriched by nullary connective or the Baaz'sprojection connective. In the case of uncountable first-orde...
متن کاملSystematic literature review of fuzzy logic based text summarization
Information Overloadrq is not a new term but with the massive development in technology which enables anytime, anywhere, easy and unlimited access; participation & publishing of information has consequently escalated its impact. Assisting userslq informational searches with reduced reading surfing time by extracting and evaluating accurate, authentic & relevant information are the primary c...
متن کاملApplications of Fuzzy Program Graph in Symbolic Checking of Fuzzy Flip-Flops
All practical digital circuits are usually a mixture of combinational and sequential logic. Flip–flops are essential to sequential logic therefore fuzzy flip–flops are considered to be among the most essential topics of fuzzy digital circuit. The concept of fuzzy digital circuit is among the most interesting applications of fuzzy sets and logic due to the fact that if there has to be an ultimat...
متن کاملRisk Analysis in E-commerce via Fuzzy Logic
This paper describes the development of a fuzzy decision support system (FDSS) for the assessment of risk in E-commerce (EC) development. A Web-based prototype FDSS is suggested to assist EC project managers in identifying potential EC risk factors and the corresponding project risks. A risk analysis model for EC development using a fuzzy set approach is proposed and incorporated into the FDSS....
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. UCS
دوره 3 شماره
صفحات -
تاریخ انتشار 1997